package su.demo.annotaition;

import su.demo.enums.DataSourceEnum;

import java.lang.annotation.*;

/**
 * @author SuZuQi
 * @title: DataSource
 * @projectName ssm_multipledatasources
 * @description: TODO
 * @date 2019/9/5
 */
@Target({ElementType.METHOD,ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface DataSource {

    DataSourceEnum value() default  DataSourceEnum.DEMO1 ;

}
